package com.studydemo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.studydemo.common.R;
import com.studydemo.entity.SysUser;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface SysUserService extends IService<SysUser>, UserDetailsService {
    /**
     * 登录接口
     * @param sysUser
     * @return
     */
    R loginIn(SysUser sysUser);
}
